package com.douziit.meilianoa.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 费用表
 * @author ChenBiao
 * @since 2020-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Fees implements Serializable {

    @TableId(value = "id" ,type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    @TableField("project_id")
    private Integer projectId;

    /**
     * 访问员费用
     */
    @TableField("vistor_fee")
    private double vistorFee;

    /**
     * 访问员费用备注
     */
    @TableField("vistor_remark")
    private String vistorRemark;

    /**
     * 联络员员费用
     */
    @TableField("liaison_fee")
    private double liaisonFee;

    /**
     * 联络员费用备注
     */
    @TableField("liaison_remark")
    private String liaisonRemark;

    /**
     * 拦截员费用
     */
    @TableField("interceptor_fee")
    private double interceptorFee;

    /**
     * 拦截员费用备注
     */
    @TableField("interceptor_remark")
    private String interceptorRemark;

    /**
     * 兼职费用
     */
    @TableField("part_time_fee")
    private double partTimeFee;

    /**
     * 兼职费用备注
     */
    @TableField("part_time_remark")
    private String partTimeRemark;

    /**
     * 场地费用
     */
    @TableField("site_fee")
    private double siteFee;

    /**
     * 场地费用备注
     */
    @TableField("site_remark")
    private String siteRemark;

    /**
     * 受访者费用
     */
    @TableField("interviewee_fee")
    private double intervieweeFee;

    /**
     * 受访者费用备注
     */
    @TableField("interviewee_remark")
    private String intervieweeRemark;

    /**
     * 礼品费用
     */
    @TableField("gift_fee")
    private double giftFee;

    /**
     * 礼品费用备注
     */
    @TableField("gift_remark")
    private String giftRemark;
    /**
     * 交通费
     */
    @TableField("transportation_fee")
    private double transportationFee;

    /**
     * 交通费备注
     */
    @TableField("transportation_remark")
    private String transportationRemark;

    /**
     * 差旅费
     */
    @TableField("travel_fee")
    private double travelFee;

    /**
     * 差旅费备注
     */
    @TableField("travel_remark")
    private String travelRemark;

    /**
     * 出差补助
     */
    @TableField("travel_allowance")
    private double travelAllowance;

    /**
     * 出差补助备注
     */
    @TableField("travel_note")
    private String travelNote;

    /**
     * 问卷费用
     */
    @TableField("questionnaire_fee")
    private double questionnaireFee;

    /**
     * 问卷费用备注
     */
    @TableField("questionnaire_remark")
    private String questionnaireRemark;

    /**
     * 其他费用
     */
    @TableField("other_fee")
    private double otherFee;

    /**
     * 其他费用备注
     */
    @TableField("other_remark")
    private String otherRremark;

    /**
     * 总计
     */
    @TableField("total_fee")
    private double totalFee;

    /**
     * 毛利
     */
    @TableField("gross_porfit")
    private double grossPorfit;

    /**
     * 毛利率
     */
    @TableField("rate")
    private double rate;

    /**
     * 借款(/退款)
     */
    @TableField("loan")
    private double loan;

    /**
     * 劳务费签字图片url
     */
    @TableField("img")
    private String img;

    /**
     * 创建者id(关联account表的id)
     */
    @TableField("creator_id")
    private Integer creatorId;

    /**
     * 预算\报销标志   0:预算  1:报销
     */
    @TableField("rei_bug_flag")
    private Integer reiBugFlag;

    /**
     * 补退金额
     */
    @TableField("refund_amount")
    private double refundAmount;
}
